package com.yonyou.brigade.facade.service;

import com.alibaba.fastjson.JSONObject;
import com.yonyou.brigade.facade.model.ChannelDTO;
import com.yonyou.ybzboot.starter.common.result.BasicResult;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Date: 2018/9/18 19:06
 * @Description: 友商旅开通服务接口类
 */
public interface IOpenService {
    Map<String, Object> openBrigade(String tenant);

    /**
     * @description: 友报账开通商旅服务
     * @since 2019-02-25
     */
    BasicResult open(ChannelDTO channelDTO);

    JSONObject openStateList(HttpServletRequest request);

    JSONObject queryConfig(JSONObject params);

    JSONObject saveConfig(JSONObject params);

    JSONObject closeChannel(JSONObject params);
}
